package com.hoas.quickstart.threads.chapter01.chapter01_7_2;

public class Run2 {

    public static void main(String[] args) {

        Thread.currentThread().interrupt();

        System.out.println("========= thread.interrupted() 具有清除终止状态的功能 ============= ");
        System.out.println("=========测试是否停止1？ = " + Thread.interrupted());
        System.out.println("===========测试是否停止2？ = " + Thread.interrupted());

    }

}
